<%--
  Created by IntelliJ IDEA.
  User: Alex
  Date: 4/26/11
  Time: 11:06 AM
  To change this template use File | Settings | File Templates.
--%>

<%@ page contentType="text/html;charset=UTF-8" %>
<div>
    <ol id="movieList">
        <g:each var="rating" in="${ratings}">
            <li>
                <a class="movieTitle" href="/FilmRing/movie/show/${rating.movie.id}">${rating.movie.title}</a>
                <g:render template="/templates/ratingwidget" model="${[id:id+'/'+rating.movie.id, 'rating':rating.rating]}"/>
            </li>
        </g:each>
    </ol>
</div>